package com.bwie.service;

import com.bwie.pojo.SpecGroup;
import com.bwie.pojo.SpecParam;
import com.bwie.utils.R;
import org.springframework.http.ResponseEntity;

import java.util.List;

/**
 * @author 段阳
 * @version 1.0
 * Create by 2024/4/28 16:55
 */
public interface SpecService {
    ResponseEntity<List<SpecGroup>> findSpecGroupList(Long id);


    List<SpecParam> findSpecParamList(Long gid, Long cid, Boolean generic, Boolean searching);

    R addSpecParam(SpecParam specParam);

    R addSpecGroup(SpecGroup specGroup);

    R upSpecGroup(SpecGroup specGroup);

    R upSpecParam(SpecParam specParam);

    R delSpecParam(Long id);

    R delSpecGroup(Long id);
}